const getters = {
  // app
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,

  // user
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  merchant_code: state => state.user.merchant_code,
  merchant_name: state => state.user.merchant_name,
  shop_code: state => state.user.shop_code,
  shop_name: state => state.user.shop_name,
  rq_code: state => state.user.rq_code,
  rq_name: state => state.user.rq_name,
  user_id: state => state.user.user_id,

  login_remember: state => state.user.login_remember,
  login_name: state => state.user.login_name,
  password: state => state.user.password,
  invite_code_remember: state => state.user.invite_code_remember,
  invite_code: state => state.user.invite_code
}
export default getters
